Automatic Implication Checking for CHR Constraints

نویسندگان

  • Tom Schrijvers
  • Bart Demoen
  • Gregory J. Duck
  • Peter J. Stuckey
  • Thom W. Frühwirth
چکیده

Constraint Handling Rules (CHRs) are a high-level rule-based programming language commonly used to define constraint solvers. We present a method for automatic implication checking between constraints of CHR solvers. Supporting implication is important for implementing extensible solvers and reification, and for building hierarchical CHR constraint solvers. Our method does not copy the entire constraint store, but performs the check in place using a trailing mechanism. The necessary code enhancements can be done by automatic program transformation based on the rules of the solver. We extend our method to work for hierarchically organized modular CHR solvers. We show the soundness of our method and its completeness for a restricted class of canonical solver as well as for specific existing non-canonical CHR solvers. We evaluate our trailing method experimentally by comparing with the copy approach: runtime is almost halved.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automatic Implication Checking for CHR Constraint Solvers

Constraint Handling Rules (CHRs) are a high-level rule-based programming language commonly used to define constraint solvers. We present a method for automatic implication checking between constraints of CHR solvers. Our method does not copy the entire constraint store, but performs the check in place using a trailing mechanism. The necessary code enhancements can be done by automatic program t...

متن کامل

Analyses, Optimizations and Extensions of Constraint Handling Rules: Ph.D. Summary

This is a summary of the Ph.D. thesis of Tom Schrijvers [4]. Constraint Handling Rules (CHR) [3] is a rule-based language commonly embedded in a host language. It combines elements of Constraint Logic Programming and term rewriting. Several implementations of CHR exist: in Prolog, Haskell, Java and HAL. Typical applications of CHR are in the area of constraint solving, but currently CHR is also...

متن کامل

Chr and Harrop Formulas: Entailment, Universal Constraints, Cooperation of Solvers

We propose an integration of Constraints Handling Rules (CHR) and Harrop formulas. Implication in goals ooers a means for dynamically loading CHR rules, and for augmenting the constraint store. Constraints in goals are checked against the current store, but do not augment the store. Universal quantiier in goals ooers a means for introducing new constrained variables. The neat eeect of this inte...

متن کامل

Automatic Test Data Generation and Model Checking with CHR

We present an example for application of Constraint Handling Rules to automated test data generation and model checking in verification of mission critical software for satellite control.

متن کامل

Visualization of CHR through Source-to-Source Transformation

In this paper, we propose an extension of Constraint Handling Rules (CHR) with different visualization features. One feature is to visualize the execution of rules applied on a list of constraints. The second feature is to represent some of the CHR constraints as objects and visualize the effect of CHR rules on them. To avoid changing the compiler, our implementation is based on source-to-sourc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 147  شماره 

صفحات  -

تاریخ انتشار 2006